<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			.one{
				height: 200px;
				width: 200px;
				background-color: #D2691E;
				/* 开启弹性布局,此时内部的子元素会按照水平方向排列 */
				display: flex;

<!--				justify-content: space-evenly;-->
<!--				align-items: flex-end;-->
<!--				justify-content: space-between;-->
<!--				align-items: flex-end;-->
				align-items: center;
				justify-content: space-around;
			}
			.two{
				height: 100px;
				width: 100px;
				background-color: blue;

			}
			.three{
				height: 100px;
				width: 100px;
				background-color: green;

			}
			.four{
				height: 100px;
				width: 100px;
				background-color: pink;
			}
		</style>
	</head>
	<body>
		<!-- 弹性布局 -->
		<div class="one">
			<div class="two"></div>
			<div class="three"></div>
			<div class="four"></div>
		</div>
	</body>
</html>